package com.idp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.idp.pojo.MyUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @Author JTR -H
 * @Address BS_221
 * @Created_Date 2021/7/27 - 17:24
 */
@Mapper      // 告诉springboot这是mapper. 这里和 MapperScan 二选一
@Repository  // 不加注解springboot也会加载,只不过autowired处会报红
public interface UsersMapper extends BaseMapper<MyUser> {
    /**
     * 继承 mybatisplus 的 BaseMapper 接口
     */
}
